package cn.mybatisplus.entity;

import cn.mybatisplus.enums.SexEnum;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
//@TableName("t_user")
public class User {

    @TableId(value = "uid",type = IdType.AUTO)
    private Long id;

    @TableField("user_name")
    private String name;

    private Integer age;
    private String email;

    private SexEnum sex;

    @TableLogic
    private Integer is_deleted;



}
